Python/VIT/sem-1/ex-13/4. Three-letter string combinations/Three-letter string combinations.py
S = {'a', 'b', 'c'}
O = []
for x in S:
for y in S:
for z in S:
O.append(x + y + z)
print(O)
S = {'a', 'b', 'c'}
O = []
for x in S:
for y in S:
for z in S:
O.append(x + y + z)
print(O)